/// 创建人： Created by zhaolong
/// 创建时间：Created by  on 3/28/21.
///
/// 可关注公众号：我的大前端生涯   获取最新技术分享
/// 可关注网易云课堂：https://study.163.com/instructor/1021406098.htm
/// 可关注博客：https://blog.csdn.net/zl18603543572
///

///代码清单
class Application {
  //矿灯学院
  static final String APP_KUANG_DENG = "coal";

  //百年科兴
  static final String APP_KEIXING = "coalx";

  //伯矿APP
  static final String APP_BOFANG = "coalz";

  //WEB
  static final String APP_WEB = "WEB";

  Application._() {
    // 具体初始化代码
  }

  ///获取单例对象
  static Application getInstance = Application._();

  String _currentApplication = APP_KUANG_DENG;

  void initApplication(String init) {
    _currentApplication = init;
  }

  String get application => _currentApplication;

  bool isBoFang() {
    return _currentApplication == APP_BOFANG;
  }
}
